package com.moxi.mogublog.config.jwt;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * JWT 相关配置
 *
 * @author xzx19950624@qq.com
 * @date 2018年11月9日下午12:47:36
 */
@Getter
@Setter
@ToString
@ConfigurationProperties(prefix = "jwt.audience")
@Component
public class Audience {

    private String clientId;

    private String base64Secret;

    private String name;

    private int expiresSecond;

}
